package com.TestDemo.Test202203To04;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2022/03/23/8:52
 * @Description:
 * @Target:
 */
public class IntoCountTest {
    public static void main(String[] args) throws IOException {
//        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        Scanner in = new Scanner(System.in);


        while (in.hasNextLine()){
            process(in.nextLine().split(" "));
        }

    }




    static int process(String[] ss){

        int sum = 0;
        for (String s1 : ss) {
            sum+=Integer.valueOf(s1);
            System.out.println(sum);
        }

        return sum;
    }
}
